package com.up.vms.application.entity;
import com.up.vms.application.base.abs._bean;

import java.util.Date;
/**
 * 系统_管理员
 * @author lujun
 */
public class Admin extends _bean{
	private static final long serialVersionUID = 1L;
	/**管理员ID**/
	private Integer id;
	/**管理员编号(统一登录里面来的)**/
	private String adminNo;
	/**工会编号**/
	private String unionNo;
	/**所属机构ID**/
	private Integer orgId;
	/**登录名称**/
	private String account;
	/**密码**/
	private String password;
	/**等级**/
	private Integer adminRank;
	/**姓名**/
	private String trueName;
	/**联系电话**/
	private String phone;
	/**备注信息**/
	private String description;
	/**创建时间**/
	private Date createTime;
	/**修改时间**/
	private Date modifyTime;
	/**创建人**/
	private Integer createId;
	/**修改人**/
	private Integer modifyId;
	/**状态**/
	private Integer state;
	public Admin() {}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getAdminNo() {
		return adminNo;
	}
	public void setAdminNo(String adminNo) {
		this.adminNo = adminNo;
	}
	public String getUnionNo() {
		return unionNo;
	}
	public void setUnionNo(String unionNo) {
		this.unionNo = unionNo;
	}
	public Integer getOrgId() {
		return orgId;
	}
	public void setOrgId(Integer orgId) {
		this.orgId = orgId;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Integer getAdminRank() {
		return adminRank;
	}
	public void setAdminRank(Integer adminRank) {
		this.adminRank = adminRank;
	}
	public String getTrueName() {
		return trueName;
	}
	public void setTrueName(String trueName) {
		this.trueName = trueName;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getCreateTimeStr() {
		return createTime==null?"":String.valueOf(createTime.getTime());
	}
	public Date getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}
	public String getModifyTimeStr() {
		return modifyTime==null?"":String.valueOf(modifyTime.getTime());
	}
	public Integer getCreateId() {
		return createId;
	}
	public void setCreateId(Integer createId) {
		this.createId = createId;
	}
	public Integer getModifyId() {
		return modifyId;
	}
	public void setModifyId(Integer modifyId) {
		this.modifyId = modifyId;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
}